#ifndef TC_RANDOM_HH
#define TC_RANDOM_HH

/** \file Random.hh 
 * Declarations for the Random number generator.
 *
 * (c) Copyright  Semih Cemiloglu
 * All rights reserved, see COPYRIGHT file for details.
 *
 * $Id: Random.hh 119 2006-06-21 04:57:25Z semihc $
 *
 *
 */


namespace TC {


  /**
   * Minimal random number generator of Park and Miller 
   * with Bays-Durham shuffle and added safeguards. 
   * Returns a uniform random deviate between 0.0 and 1.0 
   * (exclusive of the endpoint values). Call with idum a negative 
   * integer to initialize; thereafter, do not alter idum between
   * successive deviates in a sequence.
   */
  double Random(long& idum);

} // end namespace



#endif /* Include guard */
